from selenium import webdriver
from selenium.webdriver.common.by import By
import time

web = webdriver.Firefox()
web.implicitly_wait(1)
web.get('https://weixin75941.1wlshu.com/W65941/C1000023729/product/redirect/11286106?type=ALBUM&orderNum=16504588360277292230861&adviserId=1000023729&sceneId=3398331&is_pay_back=1&isBuy=1&buyGuide=1&express=1&openid=ogORDwIaEbuV-onBXb7A_rQMnvlw')

web.find_element(By.CLASS_NAME, 'right-content').click()
web.find_element(By.CSS_SELECTOR, 'a>span').click
web.find_element(By.CSS_SELECTOR, 'div[class*="buy"]').click()

time.sleep(3)
web.quit()
